#encoding:utf-8

with open('english.txt', 'r') as f:
    for c in f.read():
        if c.isupper():
            print(''.join(c.lower()), end='')
        elif c.islower():
            print(''.join(c.upper()), end='')
        else:
            print(''.join(c), end='')
    print('')
